load("@fbsource//tools/build_defs:rust_library.bzl", "rust_library")

oncall("scm_server_infra")

rust_library(
    name = "lfs_protocol",
    srcs = glob(["src/**/*.rs"]),
    test_deps = [
        "fbsource//third-party/rust:assert_matches",
        "fbsource//third-party/rust:maplit",
        "fbsource//third-party/rust:serde_json",
        "//eden/mononoke/mononoke_macros:mononoke_macros",
    ],
    deps = [
        "fbsource//third-party/rust:anyhow",
        "fbsource//third-party/rust:faster-hex",
        "fbsource//third-party/rust:http",
        "fbsource//third-party/rust:mime",
        "fbsource//third-party/rust:once_cell",
        "fbsource//third-party/rust:quickcheck",
        "fbsource//third-party/rust:serde",
    ],
)
